package cn.gemiman.daoyi.module.iot.enums;

import cn.gemiman.daoyi.framework.common.exception.ErrorCode;

/**
 * Iot 错误码枚举类
 * <p>
 * iot 系统，使用 1-015-000-000 段
 */
public interface ErrorCodeConstants {

    ErrorCode JHL_EQUIPMENT_PLACE_NOT_EXISTS = new ErrorCode(1_015_001_001, "精华隆场所信息不存在");
    ErrorCode JHL_EQUIPMENT_DEVICE_NOT_EXISTS = new ErrorCode(1_015_001_002, "精华隆设备信息不存在");
    ErrorCode JHL_EQUIPMENT_DEVICE_ADD_ERROR = new ErrorCode(1_015_001_003, "设备添加失败，错误码：{}，错误信息：{}");
    ErrorCode USER_EQUIPMENT_PLACE_NOT_EXISTS = new ErrorCode(1_015_001_004, "场所不存在");
    ErrorCode USER_EQUIPMENT_PLACE_EXISTS = new ErrorCode(1_015_001_005, "场所已存在");
    ErrorCode USER_EQUIPMENT_NOT_EXISTS = new ErrorCode(1_015_001_006, "设备不存在");
    ErrorCode USER_EQUIPMENT_EXISTS = new ErrorCode(1_015_001_007, "设备已被绑定");
    ErrorCode USER_EQUIPMENT_PLACE_EXISTS_EQUIPMENT = new ErrorCode(1_015_001_008, "场所存在设备，不能删除");
    ErrorCode USER_EQUIPMENT_PLACE_NOT_MATCH = new ErrorCode(1_015_001_009, "场所与用户不匹配");
    ErrorCode KAFKA_MSG_LOGS_NOT_EXISTS = new ErrorCode(1_015_001_010, "kafka原始消息不存在");
    ErrorCode EQUIPMENT_MSG_NOT_EXISTS = new ErrorCode(1_015_001_011, "设备消息不存在");
}
